home *** CD-ROM | disk | FTP | other *** search
- echo off
- :loop
- if (%1) == () goto link
- echo Loading %1
- if not exist %1.mac goto nomac
- macro %1 .c -iarc
- if errorlevel 1 goto blewit
- :nomac
- cc1 %1 -hc:\c\
- if errorlevel 1 goto blewit
- cc2 %1
- if errorlevel 1 goto blewit
- cc3 %1
- if errorlevel 1 goto blewit
- cc4 %1
- if errorlevel 1 goto blewit
- if %1 == arc goto nolibr
- if %1 == xarc goto nolibr
- marion -u arc %1
- :nolibr
- shift
- goto loop
- :link
- echo Linking
- if exist arc.obj link arc,,,arc+\c\nofloats+\c\cs2s
- if exist xarc.obj link xarc,,,arc+\c\nofloats+\c\cs2s
- goto exit
- :blewit
- echo
- echo I blew it, Boss! I didn't load %1 %2 %3 %4 %5 %6 %7 %8 %9
- pause
- :exit
-